﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Manager.aspx.cs" Inherits="Manager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Manager</title>
    <link href="../../Css/Manager.css" rel="stylesheet" type="text/css" />
    <link href="../../Css/font-awesome.css" rel="stylesheet" type="text/css" />
    <script src="../../Js/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="../../Js/Manager.js" type="text/javascript"></script>
    <script src="../../Js/jquery.carouFredSel-6.2.1.js" type="text/javascript"></script>
</head>
<body style="background-color:Black">
    <form id="form1" runat="server">
        <div id="header">
            <div class="container clearfix">
                <div class="top_head">
                    <div class="title"> 
                        <img src="../../Images/logo.png" alt="logo"/>
                        <h4>Institute of Fine Arts :</h4>                        
                    </div> 
                    <div class="slider">
                        <ul class="slides">
                            <li>
                                <img src="../../Images/slide_1.jpg" alt="slide1"/></li>
                            <li>
                                <img src="../../Images/slide_2.jpg" alt="slide2"/></li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="container clearfix">
                <ul class="menu">
				    <li><a href="Manager.aspx">HOME PAGE</a></li>
				    <li><a href="">ABOUT US</a></li>
                    <li><a href="#">GALLERY ANIMATION</a></li>
				    <li><a href="#">GALLERY FINE ARTS</a></li>					
				    <li><a href="#">CONTACT</a></li>
			    </ul><!-- .menu -->
            </div>
        </div><!-- #header -->

        <div id="main">
            <div class="container clearfix">
                <div class="content">
                    <div class="content_left">
                        <div class="block">
                            <h2>Pesonal Info</h2>
                            <ul>
                                <li><i class="fa fa-angle-right"></i>Change Password</li>
                                <li><i class="fa fa-angle-right"></i>Update Info</li>
                            </ul>
                        </div>
                        <div class="block">
                            <h2>PAGE</h2>
                            <ul id="content-box-tabs">
                                <li><i class="fa fa-angle-right"></i>Students
                                    <ul class="managerOption">
                                        <li onclick="displayBlock('studentList')"><i class="fa fa-angle-right"></i>Student List</li>
                                        <li onclick="displayBlock('addStudent')"><i class="fa fa-angle-right"></i>Add</li>
                                    </ul>
                                </li>
                                <li><i class="fa fa-angle-right"></i>Staff
                                    <ul class="managerOption">
                                        <li onclick="displayBlock('staffList')"><i class="fa fa-angle-right"></i><a>Staff List</a></li>
                                        <li onclick="displayBlock('addStaff')"><i class="fa fa-angle-right"></i>Add</li>
                                    </ul>
                                </li>
                                <li><i class="fa fa-angle-right"></i>Competition
                                    <ul class="managerOption">
                                        <li onclick="displayBlock('competitionList')"><i class="fa fa-angle-right"></i>Competition List</li>
                                        <li onclick="displayBlock('addCompetition')"><i class="fa fa-angle-right"></i>Add</li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>        
                    <div class="content_right">
                        <div id="studentList">
                            <h4>Student List</h4>
                            <asp:TextBox ID="txtSeachStudent" runat="server" ></asp:TextBox>
                            <asp:Button  ID="btnSeachStudent" runat="server" Text="Search" OnClick="btnSeachStudent_Click" />
                            <asp:GridView ID="grvStudent" runat="server" AllowPaging="True" 
                                AllowSorting="True" AutoGenerateColumns="False" AutoGenerateDeleteButton="True" 
                                AutoGenerateEditButton="True" DataKeyNames="studentId" 
                                OnPageIndexChanging="grvStudent_PageIndexChanging" 
                                OnRowCancelingEdit="grvStudent_RowCancelingEdit" 
                                OnRowDeleting="grvStudent_RowDeleting" OnRowEditing="grvStudent_RowEditing" 
                                OnRowUpdating="grvStudent_RowUpdating" PageSize="3" ForeColor="#FF9933" 
                                Width="685px">
                                <Columns>
                                    <asp:BoundField DataField="userName" HeaderText="User Name" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="pass" HeaderText="Password" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="fullName" HeaderText="Full Name" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="address" HeaderText="Address" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="email" HeaderText="Email" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="phoneNo" HeaderText="Phone No" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="major" HeaderText="Major" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="class" HeaderText="Class" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                </Columns>
                            </asp:GridView>
                        </div>
                        <div id="addStudent">
                            <p>Add Student</p>
                        </div>
                        <div id="staffList">
                            <h4>Staff List</h4>
                            <asp:TextBox ID="txtSeachStaff" runat="server" ></asp:TextBox>
                            <asp:Button  ID="btnSeachStaff" runat="server" Text="Search" OnClick="btnSeachStaff_Click" />
                            <asp:GridView ID="grvStaff" runat="server" AutoGenerateColumns="False" 
                                AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" 
                                DataKeyNames="staffId" OnPageIndexChanging="grvStaff_PageIndexChanging" 
                                OnRowCancelingEdit="grvStaff_RowCancelingEdit" 
                                OnRowDeleting="grvStaff_RowDeleting" OnRowEditing="grvStaff_RowEditing" 
                                OnRowUpdating="grvStaff_RowUpdating" ForeColor="#FF9933" Width="682px">
                                <Columns>
                                    <asp:BoundField DataField="userName" HeaderText="User Name" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="pass" HeaderText="Password" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="fullName" HeaderText="Full Name" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="address" HeaderText="Address" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="email" HeaderText="Email" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="phoneNo" HeaderText="Phone No" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="major" HeaderText="Major" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                </Columns>
                            </asp:GridView>
                        </div>
                         <div id="addStaff">
                            <p>Add Staff</p>
                        </div>
                        <div id="competitionList">
                            <h4>Competition List</h4>
                            <asp:TextBox ID="txtSeachCompetition" runat="server" ></asp:TextBox>
                            <asp:Button  ID="btnSeachCompetition" runat="server" Text="Search" OnClick="btnSeachCompetition_Click" />
                            <asp:GridView ID="grvCompetition" runat="server" AutoGenerateColumns="False" 
                                AllowPaging="True" AutoGenerateDeleteButton="True" 
                                AutoGenerateEditButton="True" DataKeyNames="comId" AllowSorting="True" 
                                OnPageIndexChanging="grvCompetition_PageIndexChanging" 
                                OnRowCancelingEdit="grvCompetition_RowCancelingEdit" 
                                OnRowDeleting="grvCompetition_RowDeleting" 
                                OnRowEditing="grvCompetition_RowEditing" 
                                OnRowUpdating="grvCompetition_RowUpdating" PageSize="3" ForeColor="#FF9933" 
                                Width="679px" >
                                <Columns>
                                    <asp:BoundField DataField="name" HeaderText="Name" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="awards" HeaderText="Awards" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="postDate" HeaderText="Post Date" 
                                        DataFormatString="{0:d}" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="startDate" HeaderText="Start Date" 
                                        DataFormatString="{0:d}" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="endDate" HeaderText="End Date" 
                                        DataFormatString="{0:d}" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="description" HeaderText="Description" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="quotation" HeaderText="Quotation" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="userName" HeaderText="Manager" >
                                    <HeaderStyle ForeColor="Red" />
                                    </asp:BoundField>
                                </Columns>            
                            </asp:GridView>
                        </div>
                        <div id="addCompetition">
                            <p>Add Competition</p>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>  
            </div>
        </div><!-- #main -->
    </form>
</body>
</html>
